<?php

declare(strict_types=1);

namespace Api\Request\v1\Work;

use Mine\MineApiFormRequest;

class ExternalContactRequest extends MineApiFormRequest
{
    public function getExternalContactListRules(): array
    {
        return [
            'corp_id' => 'required',
            'userid' => 'required'
        ];
    }

    public function batchGetExternalContactDetailRules(): array
    {
        return [
            'corp_id' => 'required',
            'useridList' => 'required'
        ];
    }

    public function modifyExternalContactInfoRules(): array
    {
        return [
            'corp_id' => 'required',
            'userid' => 'required',
            'external_userid' => 'required'
        ];
    }
}